package util;

public class Constants {
	
	// Database
	public static String DB_MYSQL = "MySQL";
	
	// Database driver type
	public static String DB_MYSQL_DRIVER_TYPE = "MySQL_Driver";
	
	// Database driver prefix
	public static String DB_MYSQL_DRIVER_PREFIX ="jdbc:mysql://";
	
	// System Files & Directories
	public static String SYSTEM_CONF_FOLDER = "conf";
	
	public static void setConfigFolder(String folder){
		SYSTEM_CONF_FOLDER = folder;
	}
	
	// SQL Tables
	public static String SUBJECT_TABLE = "Subject";
	public static String OBJECT_TABLE = "Object";
	public static String COMPANY_TABLE = "Company";
	public static String ACCESS_TABLE = "Access";
	public static String COI_TABLE = "COI";
	
	// Subject Types
	public static int CONTRACTOR_SUB = 1;
	public static int EMPLOYEE_SUB = 2;
	public static int COMPANY_SUB = 3;
	public static int EMPLOYEE_CONTRACTOR_SUB = 4;
	
	// Object Types
	public static int RESUME_OBJ = 1;
	public static int STAFF_REQ_OBJ = 2;
	public static int TIME_REPORT_OBJ = 3;
	public static int INVOICE_OBJ = 4;
	public static int PAYMENT_OBJ = 5;
	public static int PAYCHECK_OBJ = 6;
	
	// UI Constants
	public static String READ_OPER_UI = "read";
	public static String WRITE_OPER_UI = "write";
	public static String LIST_OPER_UI = "list";
	public static String APPLY_OPER_UI = "apply";
	public static String QUIT_OPER_UI = "quit";
	public static String SHOW_OPER_UI = "show";
	public static String ADD_OPER_UI = "add";
	public static String REMOVE_OPER_UI = "remove";
	
	public static String COMPANY_SUB_UI = "company";
	public static String EMPLOYEE_SUB_UI = "employee";
	public static String CONTRACTOR_SUB_UI = "contractor";
	public static String EMPLOYEE_CONTRACTOR_SUB_UI = "eascontractor";
	public static String COI_UI = "coi";
	
	public static String RESUME_OBJ_UI = "resume";
	public static String STAFF_REG_OBJ_UI = "staffrequest";
	public static String TIME_REPORT_OBJ_UI = "timereport";
	public static String INVOICE_OBJ_UI = "invoice";
	public static String PAYMENT_OBJ_UI = "payment";
	public static String PAYCHECK_OBJ_UI = "paycheck";
	
	public static String RESUME_INIT = "R_";
	
}